<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
    <%@ page import="java.util.*" %>
    <%@ page import="com.bean.ywj.*" %>
<!DOCTYPE html >
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>书籍信息</title>
</head>
<body>
<%
	Title titles = (Title) session.getAttribute("title");
%>
	<table >
<tr >
	<td><h2><%=titles.getTitle()%></h2></td>
</tr>
<tr>
	<td >
	<img style="border: thin solid black" width="80" height="120"
	src="<%=request.getContextPath()%>/images/<%=titles.getIsbn()%>.jpg"/>
	</td>
	<td  align="left">图书编号：</td>
    <td  align="left"><%=titles.getIsbn()%></td>
	</tr>
    <tr align="left">
		<td  align="left">价格：</td>
		<td align="left"><%=titles.getPrice()%></td>
	</tr>
	<tr align="left">
		<td >版本号：</td>
		<td><%=titles.getEditionNumber()%></td>
	</tr>
	<tr align="left">
		<td >版权：</td>
		<td><%=titles.getCopyright()%></td>
	</tr>
	<tr align="left">
		<td>
		<form method="post" action="AddTitlesToCart"><p>
			<input type="submit" value="放入购物车" /></p>
		</form>
		</td>
		<td>
		<form method="get" action="../viewCart.jsp"><p>
			<input type="submit" value="查看购物车" /></p>
		</form>
		</td>
	</tr>
	</table>

</body>
</html>